package com.seckillpro.seckill_pro.vo;

import com.seckillpro.seckill_pro.pojo.TGoods;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Package: com.SecKillpro.SecKill_pro.vo
 * @ClassName: GoodsVo
 * @Author: lyx
 * @CreateTime: 2021/3/5 17:23
 * @Description:
 */

@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class GoodsVo extends TGoods {

    /**
     * 秒杀价
     */
    private BigDecimal secKillPrice;

    /**
     * 库存数量
     */
    private Integer stockCount;

    /**
     * 秒杀开始时间
     */
    private Date startDate;

    /**
     * 秒杀结束时间
     */
    private Date endDate;


}
